<script>
	
	export default {
		onLaunch: function() {
			uni.request({
				url:'http://221.234.36.126:82/api.php/Login/visitor_login',
				method:'POST',
				data:{
					token:'1CECE2221211DDCB613882C3311EC670'
				},
				header: {
					'content-type': 'application/json;charset=UTF-8' 
				},
				success: (res) => {
					uni.setStorageSync('vi_hash',res.data.data);
				}
			});
		},
		onShow: function() {
			
		},
		onHide: function() {
			
		}
	}
</script>

<style>
	@import "colorui/main.css";
	@import "colorui/icon.css";
	ul,li{
		list-style: none;
		margin: 0;
		padding: 0;
	}
	body{
		height: auto;
	}
	a{
		text-decoration: none;
		color: #333333;
	}
	.status_bar {
      height: var(--status-bar-height);
      width: 100%;
  }
</style>
